from flask import Flask
from models import *
from blue.user import user
from blue.blue import blue

app = Flask(__name__)

app.config.from_pyfile("config.py")

db.init_app(app)

app.register_blueprint(blue)
app.register_blueprint(user)

if __name__ == '__main__':
    app.run()
